﻿using System.ComponentModel;

public class ExperimentClass : INotifyPropertyChanged
{
    bool? _isEnabledTriState;

    public bool? IsEnabledTriState
    {
        get { return _isEnabledTriState; }
        set
        {
            if (value.HasValue)
            {
                if (IsValid()) _isEnabledTriState = value;
                LogAction("Is Enabled Tri State Changed");
            }
            else
                _isEnabledTriState = value;
        }
    }

    void LogAction(string isEnabledTriStateChanged)
    {
        throw new System.NotImplementedException();
    }

    bool IsValid()
    {
        throw new System.NotImplementedException();
    }

    public event PropertyChangedEventHandler PropertyChanged;
}